package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_pms_y_q database table.
 * 
 */
@Entity
@Table(name="per_pms_y_q")
@NamedQuery(name="PerPmsYQ.findAll", query="SELECT p FROM PerPmsYQ p")
public class PerPmsYQ implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int yqid;

	private String yqwht;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	//bi-directional many-to-one association to PerPmsPes
	@ManyToOne
	@JoinColumn(name="PESID")
	private PerPmsPes perPmsPe;

	public PerPmsYQ() {
	}

	public int getYqid() {
		return this.yqid;
	}

	public void setYqid(int yqid) {
		this.yqid = yqid;
	}

	public String getYqwht() {
		return this.yqwht;
	}

	public void setYqwht(String yqwht) {
		this.yqwht = yqwht;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

	public PerPmsPes getPerPmsPe() {
		return this.perPmsPe;
	}

	public void setPerPmsPe(PerPmsPes perPmsPe) {
		this.perPmsPe = perPmsPe;
	}

}